function Tree()
{
  this.x = 0;
  this.y = 0;
  this.color = "#24DE21";
}

Tree.prototype.draw = function( context )
{
  context.save();
  
  context.lineWidth = 10;
  context.beginPath();
  context.moveTo( this.x, this.y );
  context.lineTo( this.x, this.y - 75 );
  context.closePath();
  context.fill();
  context.stroke();

  context.lineWidth = 1;
  context.strokeStyle = this.color;
  context.fillStyle = this.color;
  context.beginPath();
  context.moveTo( this.x, this.y - 50 );
  context.bezierCurveTo( this.x - 75, this.y - 75, this.x - 50, this.y - 215, this.x, this.y - 225 );
  context.moveTo( this.x, this.y - 50 );
  context.bezierCurveTo( this.x + 75, this.y - 75, this.x + 50, this.y - 215, this.x, this.y - 225 );
  context.closePath();
  context.fill();
  context.stroke();
  
  context.restore();
};
